package cn.tedu.tmall.admin.content.dao.mapper;

import cn.tedu.tmall.admin.content.pojo.po.CategoryPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface CategoryMapper extends BaseMapper <CategoryPO>{

    CategoryPO getCategoryByName(String name);

    void save(CategoryPO newCategoryPO);
}
